package icraf.carbon.gui;

import java.awt.Color;
import java.util.HashSet;

import javax.swing.ListModel;
import javax.swing.table.AbstractTableModel;

public abstract class MatrixTableModel extends AbstractTableModel {
	private static final long serialVersionUID = -8342801233585212913L;

	public abstract ListModel<Object> getRowHeaderModel();
	//public abstract String getInfo(int row, int column);
	
	private HashSet<Integer> highlightRows = new HashSet<Integer>();
	private Color highlightRowColor = new Color(250, 210, 200);
	public HashSet<Integer> getHighlightRows() {
		return highlightRows;
	}
	
	public Color getHighlightRowColor() {
		return highlightRowColor;
	}

	public void setHighlightRowColor(Color highlightRowColor) {
		this.highlightRowColor = highlightRowColor;
	}
	

}
